import service from "..";

export function getArticleList(params) {
  return service({
    url: "/article/getAll",
    method: "get",
    params,
  });
}

export function getArticleById(id) {
  return service({
    url: "/article/get?articleId"+`=${id}`,
    method: "get"
  });
    
}
